package com.vshop.utils.jwt;

import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;


@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Data

/**
 * 生成token的实体
 * @author lm
 * @date 2020/7/27 10:23
 */

public class JwtObj implements Serializable {

    private static final long serialVersionUID = -2219410416791576880L;

    /**
     * 用户名
     */
    private String userName;
    /**
     * 用户ID
     */
    private int id;
    /**
     * 用户ID
     */
    private String userPwd;
    /**
     * token有效期
     */
    private long expires;
}
